using System.Windows;
using YourLastOptionsDialog.ViewModels.Options;

namespace YourLastOptionsDialog
{
    /// <summary>
    /// Describes a factory that is able to create views for options.
    /// </summary>
    public interface IOptionsViewFactory
    {
        /// <summary>
        /// Creates a view for a given option instance.
        /// </summary>
        /// <param name="option">The option to create the view for.</param>
        /// <returns>A framework element that is able to edit the given option.</returns>
        FrameworkElement CreateViewFor(Option option);
    }
}